package com.hlkj.baojin.service;

import com.hlkj.baojin.dao.ICompanyAreaDao;
import com.hlkj.baojin.entity.dto.CompanyAreaDto;
import com.hlkj.baojin.entity.dto.CompanyAreaSearchDto;
import com.hlkj.baojin.entity.dto.MonitorDto;
import com.hlkj.baojin.utils.bean.JsonResult;

import java.util.List;

/**
 * @author HULIN
 * @created with: baojin
 * @package com.hlkj.baojin.service
 * @description:
 * @date 2019/1/9 10:47
 * @modified By:
 * @Copyright © 2018 HAILIANG Info. Tech Ltd. All rights reserved.
 */
public interface ICompanyAreaService {

    ICompanyAreaDao getCompanyAreaDao();

    void saveCompanyArea(CompanyAreaDto companyAreaDto);

    void updateCompanyArea(CompanyAreaDto companyAreaDto);

    void deleteCompanyArea(String companyAreaId);

    List<CompanyAreaDto> findCompanyAreaList(String companyId);

    List<MonitorDto> findMonitorByCompanyAreaId(String companyAreaId);

    JsonResult findCompanyArea(CompanyAreaSearchDto companyAreaSearchDto);

    String getCompanyAreaNameByCompanyAreaId(String companyAreaId);

}
